{include file="public/header" title="后台管理系统"}
<body>
<table class="table table-hover text-center">
    <tr>
        <th width="10%">ID</th>
        <th width="15%">品牌名</th>
        <th width="20%">品牌LOGO</th>
        <th width="10%">是否推荐</th>
        <th width="10%">是否显示</th>
        <th width="10%">标签</th>
        <th width="10%">排序</th>
        <th width="15%">操作</th>
    </tr>
    {volist name="list" id="v"}
    <tr>
        <td>{$v.brand_id}</td>
        <td>{$v.brand_name}</td>
        <td><img src="__STATIC__/{$v.brand_logo}" alt="" width="120" height="50"/></td>
        <td>{$v.recommended==1?'<img src="__STATIC__/images/√.jpg" alt="" width="50" height="50"/>':'<img
                src="__STATIC__/images/X.jpg" alt="" width="50" height="50"/>'}
        </td>
        <td>{$v.if_show==1?'<img src="__STATIC__/images/√.jpg" alt="" width="50" height="50"/>':'<img
                src="__STATIC__/images/X.jpg" alt="" width="50" height="50"/>'}
        </td>
        <td>{$v.tag}</td>
        <td>{$v.sort_order}</td>
        <td>
            <div class="button-group">
                <a class="button border-main" href="{:url('Brand/brandRedel',['id'=>$v.brand_id])}"><span class="icon-edit"></span> 还原</a>

            </div>
        </td>
    </tr>
    {/volist}

</table>
</body>
</html>